package ae.pcfc.cldos.online.common.tscdb.domain;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * TTscClientCategory entity. @author Asna Khader
 */
@Entity
@Table(name = "T_TSC_EMIRATE_CITY")
public class TTscEmirateCity implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public static final String EMIRATE_CITY_CODE = "emirateCode";
	
	private String emirateCode;
	private String emirateCityCode;
	private String emirateCityName;
	private String emirateCityNameArb;
	private String emirateCityCreatedUser;
	private String emirateCityModifiedUser;
	private Date emirateCityCreatedtime;
	private Date emirateCityModifiedtime;
	//private Set<TTscClientCompany> TTscClientCompanies = new HashSet<TTscClientCompany>(0);

	// Constructors

	// Property accessors
	@Id
	@Column(name = "EMIRATE_CITY_CODE", unique = true, nullable = false, length = 10)
	public String getemirateCityCode() {
		return this.emirateCityCode;
	}
	public void setemirateCityCode(String emirateCityCode) {
		this.emirateCityCode = emirateCityCode;
	}

	@Column(name = "EMIRATE_CODE")
	public String getEmirateCode() {
		return this.emirateCode;
	}
	public void setEmirateCode(String emirateCode) {
		this.emirateCode = emirateCode;
	}

	@Column(name = "EMIRATE_CITY_NAME", unique = true, nullable = false, length = 30)
	public String getEmirateCityName() {
		return this.emirateCityName;
	}

	public void setEmirateCityName(String emirateCityName) {
		this.emirateCityName = emirateCityName;
	}

	@Column(name = "EMIRATE_CITY_NAME_ARB", nullable = false, length = 30)
	public String getEmirateCityNameArb() {
		return this.emirateCityNameArb;
	}

	public void setEmirateCityNameArb(String emirateCityNameArb) {
		this.emirateCityNameArb = emirateCityNameArb;
	}

	@Column(name = "EMIRATE_CITY_CREATEDUSER", nullable = true, length = 30)
	public String getEmirateCityCreatedUser() {
		return this.emirateCityCreatedUser;
	}

	public void setEmirateCityCreatedUser(String emirateCityCreatedUser) {
		this.emirateCityCreatedUser = emirateCityCreatedUser;
	}

	@Column(name = "EMIRATE_CITY_MODIFIEDUSER", nullable = true, length = 30)
	public String getEmirateCityModifiedUser() {
		return this.emirateCityModifiedUser;
	}

	public void setEmirateCityModifiedUser(String emirateCityModifiedUser) {
		this.emirateCityModifiedUser = emirateCityModifiedUser;
	}

	@Temporal(TemporalType.DATE)
	@Column(name = "EMIRATE_CITY_CREATEDTIME", nullable = true, length = 7)
	public Date getEmirateCityCreatedtime() {
		return this.emirateCityCreatedtime;
	}

	public void setEmirateCityCreatedtime(Date emirateCityCreatedtime) {
		this.emirateCityCreatedtime = emirateCityCreatedtime;
	}


	@Temporal(TemporalType.DATE)
	@Column(name = "EMIRATE_CITY_MODIFIEDTIME", nullable = true, length = 7)
	public Date getEmirateCityModifiedtime() {
		return this.emirateCityModifiedtime;
	}

	public void setEmirateCityModifiedtime(Date emirateCityModifiedtime) {
		this.emirateCityModifiedtime = emirateCityModifiedtime;
	}



}